from peewee import *

database = MySQLDatabase('audi', **{'charset': 'utf8', 'sql_mode': 'PIPES_AS_CONCAT', 'use_unicode': True, 'host': '127.0.0.1', 'port': 3306, 'user': 'root', 'password': 'lc685137'})

class UnknownField(object):
    def __init__(self, *_, **__): pass

class BaseModel(Model):
    class Meta:
        database = database

class CarsAudi(BaseModel):
    brand_code = CharField(column_name='brandCode')
    cylinder = CharField()
    desc = CharField()
    diff_mech = CharField()
    displacement = CharField()
    drive = CharField()
    drive_new = CharField()
    engine_code = CharField()
    label = CharField()
    pid = CharField(index=True)
    replace = CharField()
    standard_label = CharField()
    trans_desc = CharField()
    transmission = CharField()
    date = CharField()
    date_info = CharField()
    class Meta:
        table_name = 'cars_audi'

class CarsAudiNew(BaseModel):
    brand_code = CharField(column_name='brandCode')
    cylinder = CharField()
    desc = CharField()
    diff_mech = CharField()
    displacement = CharField()
    drive = CharField()
    drive_new = CharField()
    engine_code = CharField()
    label = CharField()
    pid = CharField(index=True)
    replace = CharField()
    standard_label = CharField()
    trans_desc = CharField()
    transmission = CharField()
    date = CharField()
    date_info = CharField()
    class Meta:
        table_name = 'cars_audi_new'

